import {View} from "@tarojs/components";
import './index.scss'
import Taro from "@tarojs/taro";
import TopNav from "../../component/topNav";
function Index() {
  //点击查看详情
  const checkDetails =()=>{
    Taro.navigateTo({
      url:'/pages/commissionDetails/index'
    })
  }
  return (
    <View className='box'>
      <View style={{backgroundColor:'#fff',height:'80px',lineHeight:'80px'}}>
        <View className='iconfont icon-xiangzuo' style={{position:'absolute',top:'0',left:'0',fontSize:'22px',paddingTop:'6px',display:'flex'}}
              onClick={()=>Taro.navigateBack()}>
          <View style={{fontSize:'14px',paddingLeft:'4px'}}>新增项目</View>
        </View>
        <View style={{textAlign:'center',width:'100%'}}></View>
      </View>
      <View className='main'>
        <View className='list'>
          <View className='list_item' onClick={checkDetails}>
            <View className='name'>肩颈按摩</View>
            <View className='data'>
              <View>2020-08017 17:00</View>
              <View className='num'>99.0</View>
            </View >
            <View className='state'>退款中</View>
          </View>
          <View className='list_item'>
            <View className='name'>肩颈按摩</View>
            <View className='data'>
              <View>2020-08017 17:00</View>
              <View className='num'>99.0</View>
            </View >
            <View className='state'>退款中</View>
          </View>
          <View className='list_item'>
            <View className='name'>肩颈按摩</View>
            <View className='data'>
              <View>2020-08017 17:00</View>
              <View className='num'>99.0</View>
            </View >
            <View className='state'>退款中</View>
          </View>
          <View className='list_item'>
            <View className='name'>肩颈按摩</View>
            <View className='data'>
              <View>2020-08017 17:00</View>
              <View className='num'>99.0</View>
            </View >
            <View className='state'>退款中</View>
          </View>
          <View className='list_item'>
            <View className='name'>肩颈按摩</View>
            <View className='data'>
              <View>2020-08017 17:00</View>
              <View className='num'>99.0</View>
            </View >
            <View className='state'>退款中</View>
          </View>
          <View className='list_item'>
            <View className='name'>肩颈按摩</View>
            <View className='data'>
              <View>2020-08017 17:00</View>
              <View className='num'>99.0</View>
            </View >
            <View className='state'>退款中</View>
          </View>
          <View className='list_item'>
            <View className='name'>肩颈按摩</View>
            <View className='data'>
              <View>2020-08017 17:00</View>
              <View className='num'>99.0</View>
            </View >
            <View className='state'>退款中</View>
          </View>
          <View className='list_item'>
            <View className='name'>肩颈按摩</View>
            <View className='data'>
              <View>2020-08017 17:00</View>
              <View className='num'>99.0</View>
            </View >
            <View className='state'>退款中</View>
          </View>
        </View>
      </View>
    </View>
  );
}

export default Index;
